package view;

import java.awt.Dialog;
import java.awt.Frame;

import javax.swing.JDialog;


public class FFDialog extends JDialog {

	private static final long serialVersionUID = 402200074086397551L;

	public FFDialog(Dialog principal, String caption, boolean modal) {
		super(principal, caption, modal);
	}

	public FFDialog(Frame principal, String caption, boolean modal) {
		super(principal, caption, modal);
	}
	
	protected void closeWindow(){
	    setModal(false);
	    this.dispose();
	}
	
	protected FFDialog getInstance(){
		return this;
	}
	
}
